package com.donger.business.upms.query;

import com.donger.common.query.annotation.QueryColumn;
import com.donger.common.query.enums.OrderQuery;
import com.donger.common.query.enums.QueryRuleEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 7326
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PostQuery extends OrderQuery {
    @QueryColumn(type = QueryRuleEnum.LIKE)
    private String name;
    @QueryColumn(type = QueryRuleEnum.EQ)
    private String type;
    @QueryColumn(type = QueryRuleEnum.LIKE)
    private String code;
}
